package com.jbh.wanandroidkotlin.activity

import android.app.Application
import android.content.Context
import com.jbh.apilibrary.api.Api

class MyApplication:Application() {

    override fun onCreate() {
        super.onCreate()
        ctx = applicationContext
        Api.init(applicationContext)
    }

    companion object{
        var ctx : Context ?=  null
    }


}